package asteroids.model.programs.Expression;

import asteroids.model.programs.Type;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public abstract class CalculationExpression extends Expression implements IDoubleExpression{

	public CalculationExpression(int line, int column) {
		super(line, column, new Type(Type.AllType.DOUBLE));
	}

	public  boolean canHaveAsExpression(Expression e){
		return e instanceof IDoubleExpression;
	}
}
